<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
  String path = request.getContextPath();
  String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<base href="<%=basePath%>" />
<link href="css/layout.css" rel="stylesheet" type="text/css" />
<link href="css/color.css" rel="stylesheet" type="text/css" />
<title>Login</title>
</head>
<body>
	<form name="login" action="login" method="post">
	
	<dl class="login">
		<dd>Sign in to your account at</dd>
		<dd>Freewings Forum</dd>
		<dt>Username:</dt><dd><input type="text" name="name" /></dd>
		<dt>Password:</dt><dd><input type="password" name="password" /></dd>
		<dd><input type="submit" value="Login" /></dd>
		<dd><a href="regist.jsp">Don't have a Freewings Forum accout?</a></dd>
	</dl>
	<div class="clear"></div>
	</form>
</body>
</html>